package xmlcommandset;

public class IntentAction {
	String action_name = "";
	private String begin_tag = "<intentAction>";
	private String end_tag = "</intentAction>";

	public String getAction_name() {
		return action_name;
	}

	public void setAction_name(String id_name) {
		this.action_name = id_name;
	}

	public boolean isEmpty() {
		if (action_name == "")
			return true;
		return false;
	}

	public String getIntentAction() {
		return begin_tag + " " + action_name + " " + end_tag;
	}

	public void printIntentAction() {
		System.out.print(begin_tag + " ");
		System.out.print(action_name);
		System.out.print(" " + end_tag);
	}
}
